<?php
/**
 *	@name		担保交易
 *	@author		Jeffery
 *	@qq			1017756891
 *	@email		1017756891@qq.com
 *	@website	http://www.iweitao.net
**/

if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}
require_once DISCUZ_ROOT.'./config/config_ucenter.php';
$sql = <<< SQL

DROP TABLE IF EXISTS `pre_thread_alipayorder`;
CREATE TABLE IF NOT EXISTS `pre_thread_alipayorder` (
  `autoid` int(10) NOT NULL AUTO_INCREMENT,
  `orderid` char(32) NOT NULL,
  `weitaoid` char(50) NOT NULL,
  `alipayid` char(50) NOT NULL,
  `threadid` int(10) NOT NULL,
  `totle` char(20) NOT NULL,
  `tix` char(5) NOT NULL,
  `time` char(15) NOT NULL,
  `status` int(1) NOT NULL,
  PRIMARY KEY (`autoid`)
)

SQL;
runquery($sql);
$finish = TRUE;
?>